#ifndef __BSP_USART6_H_
#define __BSP_USART6_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include "system.h"



/* export func */
void bsp_usart6_init(uint32_t bound);
USART_HandleTypeDef *bsp_usart6_get_handle(void);

void bsp_usart6_set_irq_rx_handler(void (*func)(int));
int bsp_usart6_put_char(int ch);
int bsp_usart6_send_buff(uint8_t *buff, uint32_t size);

#ifdef __cplusplus
}
#endif

#endif // __BSP_USART6_H_
